package com.xxxt.zpc.service;

import java.io.File;
import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.apache.ibatis.annotations.Param;
import org.springframework.web.multipart.MultipartFile;

import com.xxxt.entity.Company;
/**
 * 
 * @description：获取公司列表（id和名称）
 * @return：
 */
public interface CompanyService {
	public Company queryCompanyByCompanyId(@Param("companyId") String companyId);
	public Company queryCompanyByCompanyName(String name);
	public List<Company> selectComanyList();
	public boolean insertCompany(Company company);
	public boolean insertCompanyList(File file);
	public boolean updateCompany(Company company);
	public String[] selectCompanyImgById( String id);
	public int upload(MultipartFile[] filr,String companyId,HttpServletRequest request);
	
	//置空
	public void aaa();
}
